package com.yyfax.pay.third.model.to.fuioudeposit;

import java.io.Serializable;
import java.util.List;

/**
 * 文件上传结果推送请求参数
 * 
 * @author buyi
 * @date 2017-09-07 16:39:05
 * @since v2.0.0
 */
@SuppressWarnings("serial")
public class UploadFileResultPushReq implements Serializable {
	/** 请求头部 */
	private UploadFileResultHeader header;
	/** 请求报文体 */
	private List<UploadFileResultBody> body;

	public UploadFileResultHeader getHeader() {
		return header;
	}

	public void setHeader(UploadFileResultHeader header) {
		this.header = header;
	}

	public List<UploadFileResultBody> getBody() {
		return body;
	}

	public void setBody(List<UploadFileResultBody> body) {
		this.body = body;
	}

	/**
	 * 请求头部
	 * 
	 * @author buyi
	 * @date 2017-09-07 16:40:27
	 * @since v2.0.0
	 */
	public static class UploadFileResultHeader implements Serializable {
		// 发送日期，格式:20170901
		private String pushDate;
		// 发送流水
		private String pushSsn;

		public String getPushDate() {
			return pushDate;
		}

		public void setPushDate(String pushDate) {
			this.pushDate = pushDate;
		}

		public String getPushSsn() {
			return pushSsn;
		}

		public void setPushSsn(String pushSsn) {
			this.pushSsn = pushSsn;
		}
	}

	public static class UploadFileResultBody implements Serializable {
		// 文件名
		private String fileName;
		// 文件内容总数
		private int sumNum;
		// 处理成功数
		private int succNum;
		// 处理失败数
		private int failNum;

		public String getFileName() {
			return fileName;
		}

		public void setFileName(String fileName) {
			this.fileName = fileName;
		}

		public int getSumNum() {
			return sumNum;
		}

		public void setSumNum(int sumNum) {
			this.sumNum = sumNum;
		}

		public int getSuccNum() {
			return succNum;
		}

		public void setSuccNum(int succNum) {
			this.succNum = succNum;
		}

		public int getFailNum() {
			return failNum;
		}

		public void setFailNum(int failNum) {
			this.failNum = failNum;
		}
	}

}
